package cn.com.joyplus.wechat.model;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.io.Serializable;


/**
 * Created by 王灏川(wangrs@qq.com) on 2017/8/11 0011.
 */
@Component
public class WechatContext implements Serializable {

    private static final long serialVersionUID = -7702805072497505612L;

    @Value("${wechat.appid}")
    private String aesKey;

    @Value("${wechat.appid}")
    private String appId;

    @Value("${wechat.appsecret}")
    private String appSecret;

    @Value("${wechat.token}")
    private String token;

    @Value("${wechat.encoding.aeskey:}")
    private String encodingAESKey;

    private String myOpenId;

    public String getMyOpenId() {
        return myOpenId;
    }

    public void setMyOpenId(String myOpenId) {
        this.myOpenId = myOpenId;
    }

    public String getAesKey() {
        return aesKey;
    }

    public String getEncodingAESKey() {
        return encodingAESKey;
    }

    public void setEncodingAESKey(String encodingAESKey) {
        this.encodingAESKey = encodingAESKey;
    }

    public String getAppId() {
        return appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public String getToken() {
        return token;
    }


}
